package cn.tedu.gateway.beijing.controller;

import org.springframework.web.bind.annotation.*;

import java.time.ZonedDateTime;

@RestController
@RequestMapping("/bj")
public class BeijingController {
    @GetMapping("/show")
//    @RequestHeader("X-color") String header
//            ,@RequestParam("age") Integer age
    public String show(){
        ZonedDateTime now = ZonedDateTime.now();
        System.out.println(now);
        return "欢迎来到北京";
    }
}
